package com.key.common.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @author wei
 */
@ApiModel(value = "报废清单高级搜索参数")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ClearFormFindDTO {
    @ApiModelProperty(name = "currentPage",notes = "当前页码数",required = true)
    private Integer currentPage;

    @ApiModelProperty(name = "pageSize",notes = "每页显示记录数",required = true)
    private Integer pageSize;

    @ApiModelProperty(name = "cfState",notes = "办理状态(1:未处理，2:已处理)")
    private Integer cfState;

    @ApiModelProperty(name = "cfNo",notes = "清理单号")
    private String cfNo;

    @ApiModelProperty(name = "cfClearTime",notes = "清理日期")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
    private Timestamp cfClearTime;

    @ApiModelProperty(name = "cfProcessor",notes = "清理人")
    private String cfProcessor;

    @ApiModelProperty(name = "cfClearReason",notes = "清理说明")
    private String cfClearReason;
}
